﻿using ITXHWEB.Models;
using ReflectionStudio.Core.Events;
using System;
using System.Data;
using System.Web.Mvc;
using WPFExcelReport;
using WPFExcelReport.Helpers;
using ITXHWEB.Infrastructure;
using System.Collections;
using System.Collections.Generic;
namespace ITXHWEB.Controllers
{
    public partial class VVTLIEFController : ITXController
    {
   
        /// <summary>
        /// 展示当前记录
        /// </summary>
        /// <param name="returnUrl"></param>
        /// <returns></returns>
        [ChildActionOnly]
        public ActionResult MVVPACK(string returnUrl)
        {
            ModelState.Clear(); 
            ViewBag.ReturnUrl = returnUrl; 
            MABF.CVVT.REMARK = MABF.CWBB.INFO; 
            MABF.CVVT.ART = VKPAUF + LIEFSCH;
            return PartialView(MABF.CVVT);
        }
        [HttpPost]
        [AllowAnonymous]
        [ValidateAntiForgeryToken]
        public ActionResult MVVPACK(VVTLIEFModel model, string returnUrl)
        { 
            try
            {
                MABF = new ABFOLGEModel();  
            }
            catch (Exception ex)
            {
                 
                Tracer.Error(ex.StackTrace, ex);
            }
            return RedirectToAction(MAPP, MAPP);
        }
         
        
    }
}
